package com.longchat.dto.comm;

public enum ResultEnum {
	SUCCESS(200,"成功"),
	ERROR(500,"错误"),
	HAS_VOTE(511,"您已经对该问题进行投票"),
	HAS_CHECK_VOTE(512,"您已经对该问题的选项进行投票");
	private Integer code;
	private String  msg;
	ResultEnum(Integer code,String msg){
		this.code = code;
		this.msg = msg;
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}

}
